﻿
@{
    string id = ViewBag.aid as string;
    Layout = null;
}
@model List<DataAccess.DTO.ProductIndex>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
    <title>@ViewBag.Title</title>
    <link rel="stylesheet" href="http://qumi666.oss-cn-beijing.aliyuncs.com/css.min.css" type="text/css" />

</head>
<body>
    <div class="wrapper zk-collection" style="padding-top: 0px;">
        <div class="product-list-area">
            <div class="product-list" id="couponList" style="margin:0;padding:0 0 10px 10px;background-color: #f8f8f8;">
                @foreach (var item in Model){<a href="/@(id)/goods/@(item.auctionId).html"><div class="product-item-t2" style="width:175px;"><div class="pic lazy" data-original="@(item.pictUrl)_400x400" style="width: 165px; height: 165px;"></div><p class="title"><span class="post-free">包邮</span>@item.title</p><p class="sold">淘宝价&nbsp;&yen;@item.zkPrice</p><div class="price-area"><p class="gap-price"><em class="number-font">@item.couponAmount</em>元券</p><p class="price">券后价&yen;<em class="number-font">@(item.zkPrice-item.couponAmount)</em></p></div></div> </a>}
            </div>
        </div>
    </div>
    <input type="hidden" id="noDock" value="1" />
    <script type="text/javascript" src="http://cdn.bootcss.com/fastclick/1.0.6/fastclick.min.js"></script>
    <script type="text/javascript" src="http://cdn.bootcss.com/zepto/1.2.0/zepto.min.js"></script>
    <script type="text/javascript" src="http://0d077ef9e74d8.cdn.sohucs.com/qocqk50_js"></script>
    <script type="text/javascript">
        Zepto(function ($) {
            $('.banner').css('height', 'auto');
            var _w = $('.wrapper').width(), picH = (_w - 25) / 2;
            if (_w > 500) {
                picH = (_w - 10 - 5 - 5 - 10) / 3;
            }
            $('.product-item-t2').css('width', picH + 'px');
            $('.product-item-t2 .pic').css({ 'width': picH + 'px', 'height': picH + 'px' });
            Util.lazyLoad('lazy');
        });
        function callbackHandler() { }
    </script>
</body>
</html>
